//-----------------------------------------------------------------------
// <copyright file="a_CatSubBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_CatSubBase
	{
		
		#region Variable Declarations
		private int				subCatID = 0;
		private int				mainCatID = 0;
		private string				uName = string.Empty;
		private string				name = string.Empty;
		private int				statPopularity = 0;
		private int				ordering = 0;
		private string				introduction = string.Empty;
		#endregion
		
		#region Constructors
		public a_CatSubBase() {}
		
		public a_CatSubBase (
			int subCatID,
			int mainCatID,
			string uName,
			string name,
			int statPopularity,
			int ordering,
			string introduction)
		
		{
			this.subCatID = subCatID;
			this.mainCatID = mainCatID;
			this.uName = uName;
			this.name = name;
			this.statPopularity = statPopularity;
			this.ordering = ordering;
			this.introduction = introduction;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SubCatID
		{
			get { return subCatID; }
			set { subCatID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MainCatID
		{
			get { return mainCatID; }
			set { mainCatID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string UName
		{
			get { return uName; }
			set { uName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatPopularity
		{
			get { return statPopularity; }
			set { statPopularity = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Ordering
		{
			get { return ordering; }
			set { ordering = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Introduction
		{
			get { return introduction; }
			set { introduction = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_CatSubColumns
	{
		SubCatID,
		MainCatID,
		UName,
		Name,
		StatPopularity,
		Ordering,
		Introduction
	}//End enum
}